package cn.bfay.lion.rest.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Controller
public class TestController {
    /**
     * jd check.
     *
     * @return text
     */
    @GetMapping("/jd_root.txt")
    public String login() {
        return "jd_root.txt";
    }

    /**
     * fileauth check  京东认证ssl,文件方式.
     *
     * @return text
     */
    @GetMapping("/.well-known/pki-validation/fileauth.txt")
    public String fileauth() {
        return "fileauth.txt";
    }

    /**
     * fileauth check 华为云认证ssl.
     *
     * @return text
     */
    @GetMapping("/.well-known/pki-validation/whois.txt")
    public String fileauth2() {
        return "fileauth.txt";
    }


}
